Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Shape Geometry

For a path, the shape type does not contain all the geometric information necessary to define the shape. The geometries of paths contain (x, y) coordinate pairs called geometric points --points that specify the location, dimension, and form of the paths:

There are two possible views of a geometry: as a list of x, y coordinate pairs and as geometric points plotted on a geometric grid. This second way of viewing geometries is used frequently throughout this chapter, as it shows not only the geometric points, but also the implied edges that connect them. Typically, the figures in this chapter do not show the grid, but just the points and edges.

Each geometric point in a geometry has a geometry index --if you consider the geometry as a list of geometric points starting from the first geometric point of the first contour to the last geometric point of the last contour, the geometry index of a particular geometric point is its position in this list.

QuickDraw GX takes into consideration the direction that an edge is pointing in a number of circumstances:


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |